# Readme for "The Value of Urgency: Evidence from Congestion Pricing Experiments" by Antonio M. Bento, Kevin Roth & Andrew R. Waxman

## Data Availability Statement

Code for data cleaning and analysis is provided as part of the replication package. 

* **CALTRANS** "Performance Management System (PeMS)." California Department of Transportation. http://pems.dot.ca.gov/ (accessed 12/27/19).
* **NOAA**. "CLIMOD 2 - Northeast Regional Climate Center - Applied Climate Information Center." National Oceanic and Atmospheric Agency. Ithaca, NY. http://climod2.nrcc.cornell.edu/ (accessed 12/27/19).
* **_Ward's Auto_** 1945-2013. "Ward's Automotive Yearbooks." Detroit. Informa USA, Inc.
* **US Census Bureau** 2012. "American Community Survey 2008-2012 5-Year Estimates. Table S1902" https://data.census.gov/cedsci/table?q=United%20States&tid=ACSST5Y2012.S1902&t=Income%20and%20Poverty&vintage=2012&g=0100000US. 
* **EIA** 2013. "Weekly Retail Gasoline and Diesel Prices." Energy Information Administration. Washington, DC. https://www.eia.gov/dnav/pet/pet_pri_gnd_a_epmr_pte_dpgal_w.htm (accessed 12/27/19)
* **LA Metro** 2013. "LA Metro ExpressLanes Transactions Data" Los Angeles County Metropolitan Transportation Authority. Los Angeles, CA.
 These data are confidential, but may be obtained from LA Metro. Researchers interested in access to the data may contact Kathleen McCune at mccunek@metro.net. Data access approval is not guaranteed. The author will assist with any reasonable replication attempts for two years following publication.
* **_BLS_** 2013. "Consumer Price Index for All Urban Consumers: All Items in U.S. City Average" Bureau of Labor Statistics. https://www.bls.gov/regions/new-england/data/consumerpriceindex_us_table.htm


## Dataset list

| **Data file**         					| **Source** 	| **Notes**          				| **Provided** |
|-------------------------------------------|---------------|-----------------------------------|--------------|
| data/raw/ACS_12_5YR_S1902_with_ann.csv 	| Census ACS 	|  				  					|       Yes    |
| data/raw/gprice.dta 					 	| EIA 		 	| Regular Reformulated gas prices 	|       Yes    |
| data/raw/I10_speedflow_premerge.dta 	 	| Caltrans PeMS | PeMS I10 Speed & Flow 		 	|       Yes    |
| data/raw/raw5mindata_I210.dta 	 	 	| Caltrans PeMS | PeMS I210 Speed & Flow 		 	|       Yes    |
| data/raw/weather.dta 	 	  				| NOAA 			| Weather Monitor Data 	 		 	|       Yes    |
| data/raw/time_to_work_ipums.dta 	 	 	| IPUMS 		| ACS data on travel times 		 	|       Yes    |
| data/raw/ACS_Arrival_Time2013.dta	 	 	| Census ACS	| ACS data on time arriving at work	|       Yes    |





### Software Requirements

* Stata (code was last run with verion 15)
 * the program "0_setup.do" will install dependencies locally, and should be run once.

## Description of programs
* Program doAll.do will execute all setup programs, cleaning and analysis.

## Memory and Runtime Requirements
The code was last run on a **4-core Intel workstation with 16 GB of RAM, 1 TB of fast local storage.** Computation took 5 hours.


## Instructions
1. Run programs/00_setup.do, which will create all output directories.
2. Download the data files referenced above. Each should be stored in the prepared subdirectories of data/, in the format that you download them in.    
3. Run the programs in /01_dataprep.  
 * These programs were last run at various times in 2023.
 * Order does not matter, all programs can be run in parallel, if needed.
 * programs/01_dataprep/doAll.do will run them all in sequence, which should take about X hours.
4. Run the program programs/02_analysis/master.do. If running programs individually, note that ORDER IS IMPORTANT. The programs were last run top to bottom on December 31, 2023.
5. Run the program programs/03_appendix/doAll-appendix.do. The programs were last run top to bottom on December 31, 2023.


## List of tables and programs
| Figure/Table # 				| Program               				| Line Number | Output file  
| ------------------------------|---------------------------------------|-------------|------------- 
| Figure 2        				| 02_analysis/makeFigure2.do 			|   XX        | maintextFigsTabs.xlsx   |
| Figure 3        				| 02_analysis/makeFigure3.do 			|   XX        | maintextFigsTabs.xlsx   |
| Figure 4        				| 02_analysis/makeFigure4.do 			|   XX        | maintextFigsTabs.xlsx   | 
| Figure 5, panel A 			| 02_analysis/makeFigure5pa.do 			|   XX        | maintextFigsTabs.xlsx   |
| Figure 5, panel B 			| 02_analysis/makeFigure5pb.do 			|   XX        | maintextFigsTabs.xlsx   |
| Figure 5, panel C 			| 02_analysis/makeFigure5pc.do 			|   XX        | maintextFigsTabs.xlsx   |
| Figure 5, panel D 			| 02_analysis/makeFigure5pd.do 			|   XX        | maintextFigsTabs.xlsx   |
| Table 1        				| 02_analysis/makeTable1.do 			|   XX        | maintextFigsTabs.xlsx   |
| Table 2        				| 02_analysis/makeTable2.do  			|   XX        | maintextFigsTabs.xlsx   |
| Table 3        				| 02_analysis/makeTable3.do 			|   XX        | maintextFigsTabs.xlsx   |
| Table 4        				| 02_analysis/makeTable4.do 			|   XX        | maintextFigsTabs.xlsx   |
| Table 5 panel A  cols I-II 	| 02_analysis/makeTable5pa.do  			|   XX        | maintextFigsTabs.xlsx   |
| Table 5 panel A cols III-V   	| 02_analysis/makeTable5pa.do  			|   XX        | maintextFigsTabs.xlsx   |
| Table 5 panel B   			| 02_analysis/makeTable5pa.do  			|   XX        | maintextFigsTabs.xlsx   |
| Table 5 panel C   			| 02_analysis/makeTable5pa.do  			|   XX        | maintextFigsTabs.xlsx   |



## Acknowledgements
Some content on this page was copied from [AEADataEditor](https://aeadataeditor.github.io/aea-de-guidance/template-README.html). 